package com.fesine.scheduler.jobs;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * @description: 类描述
 * @author: Fesine
 * @createTime:2016/11/15 14:20
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2016/11/15 14:20
 */
public class ScheduledJobWithMysql extends QuartzJobBean {

    private static final Logger logger = LoggerFactory.getLogger(ScheduledJobWithMysql.class);


    @Override
    protected void executeInternal(JobExecutionContext jobExecutionContext)
            throws JobExecutionException {
        logger.info("---->我保存在mysql数据库中，通过web容器定时调起！");
    }
}
